﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace KegCommunication.Communication
{
    [ServiceContract(Namespace="http://kegmanager.codeplex.com")]
    interface IPipeService
    {
        [OperationContract(IsOneWay=true)]
        void PipeIn(List<string> data);

        [OperationContract(IsOneWay = true)]
        void NotifyStartPour(PourEventArgs pe);

        [OperationContract(IsOneWay = true)]
        void NotifyContinuePour(PourEventArgs pe);

        [OperationContract(IsOneWay = true)]
        void NotifyEndPour(PourEventArgs pe);

        [OperationContract(IsOneWay = true)]
        void NotifyUpdateTemperature(TemperatureEventArgs te);

        [OperationContract(IsOneWay = true)]
        void NotifyUserAuthenticated(UserAuthenticatedEventArgs ue);
    }

}



